import service from '@/utils/request'

// @Tags TConversionRulesZ
// @Summary 创建tConversionRulesZ表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.TConversionRulesZ true "创建tConversionRulesZ表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /tConversionRulesZ/createTConversionRulesZ [post]
export const createTConversionRulesZ = (data) => {
  return service({
    url: '/tConversionRulesZ/createTConversionRulesZ',
    method: 'post',
    data
  })
}

// @Tags TConversionRulesZ
// @Summary 删除tConversionRulesZ表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.TConversionRulesZ true "删除tConversionRulesZ表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /tConversionRulesZ/deleteTConversionRulesZ [delete]
export const deleteTConversionRulesZ = (data) => {
  return service({
    url: '/tConversionRulesZ/deleteTConversionRulesZ',
    method: 'delete',
    data
  })
}

// @Tags TConversionRulesZ
// @Summary 批量删除tConversionRulesZ表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除tConversionRulesZ表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /tConversionRulesZ/deleteTConversionRulesZ [delete]
export const deleteTConversionRulesZByIds = (data) => {
  return service({
    url: '/tConversionRulesZ/deleteTConversionRulesZByIds',
    method: 'delete',
    data
  })
}

// @Tags TConversionRulesZ
// @Summary 更新tConversionRulesZ表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.TConversionRulesZ true "更新tConversionRulesZ表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /tConversionRulesZ/updateTConversionRulesZ [put]
export const updateTConversionRulesZ = (data) => {
  return service({
    url: '/tConversionRulesZ/updateTConversionRulesZ',
    method: 'put',
    data
  })
}

// @Tags TConversionRulesZ
// @Summary 用id查询tConversionRulesZ表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.TConversionRulesZ true "用id查询tConversionRulesZ表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /tConversionRulesZ/findTConversionRulesZ [get]
export const findTConversionRulesZ = (params) => {
  return service({
    url: '/tConversionRulesZ/findTConversionRulesZ',
    method: 'get',
    params
  })
}

// @Tags TConversionRulesZ
// @Summary 分页获取tConversionRulesZ表列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取tConversionRulesZ表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /tConversionRulesZ/getTConversionRulesZList [get]
export const getTConversionRulesZList = (params) => {
  return service({
    url: '/tConversionRulesZ/getTConversionRulesZList',
    method: 'get',
    params
  })
}


export const refreshTConversionRulesZByIds = (data) => {
  return service({
    url: '/tConversionRulesZ/refreshTConversionRulesZByIds',
    method: 'post',
    data
  })
}